﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LimaLims.Application.Service.Base.Dto;
using LimaLims.Application.Service.Basic.Dto;
using LimaLims.Core;
using LimaLims.Core.Enum;
using Microsoft.EntityFrameworkCore;

namespace LimaLims.Application.Service.Sys.Dto
{
    /// <summary>
    /// 新增系统通知
    /// </summary>
    public class AddSysNoticeInput : BaseDto
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public NoticeStatus Status { get; set; }
    }
    public class EditSysNoticeInput : AddSysNoticeInput
    {

    }
    public class SysNoticeOutput : BaseDto
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public NoticeStatus Status { get; set; }
    }


    /// <summary>
    /// 系统通知分页
    /// </summary>
    public class SysNoticePageInput : PageInputBase
    {
        /// <summary>
        /// 状态
        /// </summary>
        public NoticeStatus? Status { get; set; }
    }
}
